package DataBaseInterface;

import java.util.ArrayList;

import CustomerPO.CustomerPO;
import Po.Credits;
import Po.Discount;
import Po.Equivalent;
import Po.Message;
import Po.Promotion;

public interface PromotionServerInterface {
	public ArrayList<Promotion> getAllPromotionList();
	public Message addDiscountPromotion(Discount promotion);
	public Message addEquivalentPromotion(Equivalent promotion);
	public Message modifyDiscountPromotion(Discount promotion);
	public Message modifyEquivalentPromotion(Equivalent promotion);
	public Message modifyCredits(Credits c);
	public Credits getCredits();
	public ArrayList<Promotion> getCustomerPromotionList(int ID);
	public Message presentPromotion(Promotion promotion,int rank,int num);
	public Message updatePromotion(CustomerPO c);
	public Message presentPromotionById(Promotion promotion,int id,int num);
}
